package com.xinpu.service.impl;

import com.xinpu.mapper.TargetMapper;
import com.xinpu.service.TargetService;
import com.xinpu.vo.TargetVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class TargetServiceImpl implements TargetService {
    @Autowired
    private TargetMapper targetMapper;

    @Override
    public TargetVo getOne(Integer id, Integer type) {
        return targetMapper.getOne(id, type);
    }
}
